package com.ess.base;


import com.ess.constants.Constants;

import javax.persistence.Transient;
import java.io.Serializable;

public class BaseObject implements Serializable {

    private static final long serialVersionUID = 112312312312312L;

    @Transient
    private int pageNum = Constants.INT_ONE;//页数

    @Transient
    private int pageSize = Constants.INT_TEN;//页面大小

    @Transient
    private String isPage = Constants.STRING_ONE;//是否分页,0-不分页，1分页

    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public String getIsPage() {
        return isPage;
    }

    public void setIsPage(String isPage) {
        this.isPage = isPage;
    }
}
